<!-- <html xmlns="http://www.w3.org/1999/xhtml"> -->
<!DOCTYPE html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>{:lang_web('string_mac_wodzi')} - {$maccms.site_name}</title>
	<meta name="keywords" content="{:lang_web('user_my_info')}-{:lang_web('string_user_center')}">
	<meta name="description" content="{:lang_web('user_my_info')}-{:lang_web('string_user_center')}">
	{include file="user/include" /}
</head>
<body>
{include file="public/head" /}
<!-- 会员中心 -->
<div class="member-wrap member-wrap-bg">
<div id="member" class="fn-clear">
	<div id="left">
	    <div class="m-nav">
			<a href="javascript:MAC.GoBack()" class="btn-left"><i class="iconfont ico-right">&#xe625;</i></a>
			<a href="{:MAC_BASE_PATH}/" class="btn-right"><i class="iconfont ico-right">&#xe634;</i></a>
			<span class="mb-title" data-lang="user_grzx">{:lang_web('user_grzx')}</span>
	    </div>
        {include file="user/left_nav" /}
	</div>
	<div id="right">
		<div class="m-nav">
			<a href="javascript:MAC.GoBack()" class="btn-left"><i class="iconfont ico-right">&#xe625;</i></a>
			<a href="{:url('user/info')}" class="btn-right show-pc" data-lang="user_change">{:lang_web('user_change')}</a>
			<span class="mb-title" data-lang="user_base_info">{:lang_web('user_base_info')}</span>
	    </div>
	    <div class="co-right co-right-bg">
		<div id="tab">
			<div class="user-info">
				<ul class="fn-clear">
					<li class="cur" data-lang="user_base_info">{:lang_web('user_base_info')}</li>
					<li><a href="{:url('user/info')}" data-lang="user_change_info">{:lang_web('user_change_info')}</a></li>
					<li><a href="{:url('user/popedom')}" data-lang="user_jurisdiction">{:lang_web('user_jurisdiction')}</a></li>
				</ul>
			</div>
			<div id="listCon">
				<!-- 基本资料 -->
				<div class="cur">
					<p><span class="xiang" data-lang="user_name">{:lang_web('user_name')}</span>{$obj.user_name}</p>
					<p><span class="xiang" data-lang="user_nickname">{:lang_web('user_nickname')}</span>
						{if $obj['user_nick_name']}{$obj['user_nick_name']}{else}<span data-lang='string_no_have'>{:lang_web('string_no_have')}</span>{/if}
					</p>
					<p><span class="xiang" data-lang="user_huiyuanzu">{:lang_web('user_huiyuanzu')}</span>{if condition="$obj.group_id lt 3"}{$user.group.group_name}{else}<i class="iconfont user_vip">&#xe638;</i>{$obj.group.group_name}{/if}</p>
					<p><span class="xiang" data-lang="user_zhanghaojifen">{:lang_web('user_zhanghaojifen')}</span>{$obj.user_points}</p>
					<p>
						<span class="xiang" data-lang="user_qixian">{:lang_web('user_qixian')}</span>{if condition="$obj.group_id lt 3"} 
						<span data-lang="user_valid">{:lang_web('user_valid')}</span>{else}{$obj.user_end_time|mac_day}{/if}</p>
					<p><span class="xiang" data-lang="user_qq">{:lang_web('user_qq')}</span>
						{if $obj['user_qq']}{$obj['user_qq']}{else}<span data-lang='string_no_have'>{:lang_web('string_no_have')}</span>{/if}
					</p>
					<p><span class="xiang" data-lang="user_email">{:lang_web('user_email')}</span>
						{if $obj['user_email']}{$obj['user_email']}{else}<span data-lang='string_no_have'>{:lang_web('string_no_have')}</span>{/if}
					</p>
					<p><span class="xiang" data-lang="user_zctime">{:lang_web('user_zctime')}</span>{$obj.user_reg_time|mac_day}</p>
					<p><span class="xiang" data-lang="user_scdl">{:lang_web('user_scdl')}</span>{$obj.user_last_login_time|mac_day='color'}</p>
					<p><span class="xiang" data-lang="user_dlcs">{:lang_web('user_dlcs')}</span>{$obj.user_login_num}</p>
					<p><span class="xiang" data-lang="user_dlIp">{:lang_web('user_dlIp')}</span>{$obj.user_login_ip|long2ip}</p>
					<p><span class="xiang" data-lang="user_dlshijian">{:lang_web('user_dlshijian')}</span>{$obj.user_login_time|mac_day}</p>
					{if $GLOBALS['config']['user']['invite_reg_points'] gt 0}
					<p>
						<span class="xiang" data-lang="user_zclink">{:lang_web('user_zclink')}</span><input id="url" class="member-input wt-input" value="{$maccms.http_type}{$maccms.site_url}{:mac_url('user/reg')}?uid={$obj.user_id}" size="70">
						<a id="text" class="bind-a" data-clipboard-text="{$maccms.http_type}{$maccms.site_url}{:mac_url('user/reg')}?uid={$obj.user_id}" href="javascript:void(0)" data-lang="user_copy">{:lang_web('user_copy')}</a>
					</p>
					{/if}
					{if $GLOBALS['config']['user']['invite_visit_points'] gt 0}
					<p>
						<span class="xiang" data-lang="user_fwlink">{:lang_web('user_fwlink')}</span><input id="url2" class="member-input wt-input" value="{$maccms.http_type}{$maccms.site_url}{:mac_url('user/visit')}?uid={$obj.user_id}" size="70">
						<a id="text2" class="bind-a" data-clipboard-text="{$maccms.http_type}{$maccms.site_url}{:mac_url('user/visit')}?uid={$obj.user_id}" href="javascript:void(0)" data-lang="user_copy">{:lang_web('user_copy')}</a>
					</p>
					{/if}
				</div>
			</div>
		</div>
	 </div>
	 
</div>

</div>
<div style="width:30rem;margin: 2.5rem auto;">
{include file="public/friendLink" }
</div>
</div>
<script type="text/javascript">
	var lang=localStorage.getItem('lang')
	$("#text").click(()=>{
		copyText("url")
	})
	$("#text2").click(()=>{
		copyText("url2")
	})
    function copyText(url) {
      var input = document.getElementById(url);
      input.select(); 
      document.execCommand("copy"); // 执行浏览器复制命令
      alert(lang==1?'Copy succeeded':"复制成功");
    }

</script>

{include file="public/foot" /}
</body>
</html>